package cn.haoxsf.app.system.mapper;

import cn.haoxsf.app.system.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 后台用户权限表 Mapper 接口
 * </p>
 *
 * @author Ele  qvbanfm@qq.com
 * @since 2020-01-06
 */
public interface PermissionMapper extends BaseMapper<Permission> {
    /**
     * 获取用户所有权限(包括+-权限)
     */
    List<Permission> getPermissionList(@Param("adminId") Long adminId);
}
